Skip to main content

system

Type

keyword

Summary

Specifies that the date and time functions should be formatted in accordance with the user's system preferences.

Syntax

system

Description

Use the system keyword to correctly format dates and times that will be viewed by the user (for example, dates and times that are displayed in a field).

The system format is set by the Date & Time control panel (on Mac OS systems), the Date control panel (on Windows|Windows systems), or the LANG environment variable (on Unix systems).

You can use the system keyword in combination with the long, abbreviated, or short keywords.

note

The system keyword is implemented internally as a property and appears in the propertyNames. However, it cannot be used as a property in an expression, nor with the set command.

Examples

put the system date && the system time into field "Clock"

glossary: property, command, Windows, keyword, Mac OS, function, Unix, expression

keyword: long, field, short, abbreviated

command: convert, set

function: time, dateFormat, format, date, propertyNames

Compatibility and Support

Introduced

LiveCode 1.1

OS

mac

windows

linux

Platforms

desktop

server

Thank you for your feedback!

Was this page helpful?